FluentForm\App\Modules\Payments\PaymentMethods\Stripe\API\Plan S

Total Complexity 26
Dependencies 4
Dependents 2
Total lines 285
Lines of code 210
Logical lines of code 77
Comment lines 6
Methods 9
Properties 0

Methods 9

Method Rating Maintainability Complexity Lines of code
getPriceIdsFromSubscriptionTransaction()
S
51 6 27
getSubscriptionPlanBySubscription()
S
44 4 47
maybeSetCancelAt()
S
50 4 30
getOrCreate()
S
50 4 28
getCancelledAtTimestamp()
S
61 3 12
retrieve()
S
55 2 20
create()
S
59 1 16
getGeneratedSubscriptionId()
S
59 1 15
subscribe()
S
59 1 15